From 58e9e9d3163d32badf54e0348787f493f9109d33 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Mon, 16 Sep 2013 21:13:00 -0400 Subject: [PATCH] Improve gtk_widget_insert_action_group docs Mention that group can be NULL. Related to https://bugzilla.gnome.org/show_bug.cgi?id=708150 --- gtk/gtkwidget.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c index 6ee84095ea..532a8280f2 100644 --- a/gtk/gtkwidget.c +++ b/gtk/gtkwidget.c @@ -15520,13 +15520,16 @@ _gtk_widget_get_action_muxer (GtkWidget *widget) * gtk_widget_insert_action_group: * @widget: a #GtkWidget * @name: the prefix for actions in @group - * @group: a #GActionGroup + * @group: (allow-none): a #GActionGroup, or %NULL * * Inserts @group into @widget. Children of @widget that implement * #GtkActionable can then be associated with actions in @group by * setting their 'action-name' to * @prefix.action-name. * + * If @group is %NULL, a previously inserted group for @name is removed + * from @widget. + * * Since: 3.6 */ void -- 2.30.2